<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Picture-Manager: FilledCircle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Picture-Manager
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_filled_circle.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_filled_circle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">FilledCircle Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Describes a filled circle.  
 <a href="class_filled_circle.html#details">More...</a></p>

<p><code>#include &lt;FilledCircle.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for FilledCircle:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_filled_circle.png" usemap="#FilledCircle_map" alt=""/>
  <map id="FilledCircle_map" name="FilledCircle_map">
<area href="class_circle.html" title="Describes a Circle (holds its radius and gets position from Shape)" alt="Circle" shape="rect" coords="0,112,77,136"/>
<area href="class_shape.html" title="Describes a Shape (holds position and color of the shape)" alt="Shape" shape="rect" coords="0,56,77,80"/>
<area href="class_object.html" title="Common Baseclass for all other classes." alt="Object" shape="rect" coords="0,0,77,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad3d472722e9611d160fed9d1e0013cdd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filled_circle.html#ad3d472722e9611d160fed9d1e0013cdd">FilledCircle</a> (<a class="el" href="struct_t_position.html">TPosition</a> const &amp;pos, float const &amp;radius, std::string const &amp;color)</td></tr>
<tr class="memdesc:ad3d472722e9611d160fed9d1e0013cdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">CTor of <a class="el" href="class_filled_circle.html" title="Describes a filled circle.">FilledCircle</a>.  <a href="#ad3d472722e9611d160fed9d1e0013cdd"></a><br/></td></tr>
<tr class="separator:ad3d472722e9611d160fed9d1e0013cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_circle"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_circle')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_circle.html">Circle</a></td></tr>
<tr class="memitem:a4ef4daf1e51e2eb71d888c43a736b488 inherit pub_methods_class_circle"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_circle.html#a4ef4daf1e51e2eb71d888c43a736b488">Circle</a> (<a class="el" href="struct_t_position.html">TPosition</a> const &amp;pos, float const &amp;radius, std::string const &amp;color)</td></tr>
<tr class="memdesc:a4ef4daf1e51e2eb71d888c43a736b488 inherit pub_methods_class_circle"><td class="mdescLeft">&#160;</td><td class="mdescRight">CTor of <a class="el" href="class_circle.html" title="Describes a Circle (holds its radius and gets position from Shape)">Circle</a>.  <a href="#a4ef4daf1e51e2eb71d888c43a736b488"></a><br/></td></tr>
<tr class="separator:a4ef4daf1e51e2eb71d888c43a736b488 inherit pub_methods_class_circle"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4087e393e0bec8f9cd1decd93a01c97d inherit pub_methods_class_circle"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_circle.html#a4087e393e0bec8f9cd1decd93a01c97d">WriteShape</a> (std::ostream &amp;stream)</td></tr>
<tr class="memdesc:a4087e393e0bec8f9cd1decd93a01c97d inherit pub_methods_class_circle"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a circle to ostream.  <a href="#a4087e393e0bec8f9cd1decd93a01c97d"></a><br/></td></tr>
<tr class="separator:a4087e393e0bec8f9cd1decd93a01c97d inherit pub_methods_class_circle"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_shape.html">Shape</a></td></tr>
<tr class="memitem:ac3b9fc48965274893f25b18aa14ba665 inherit pub_methods_class_shape"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">~Shape</a> ()</td></tr>
<tr class="memdesc:ac3b9fc48965274893f25b18aa14ba665 inherit pub_methods_class_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">DTor of <a class="el" href="class_shape.html" title="Describes a Shape (holds position and color of the shape)">Shape</a>.  <a href="#ac3b9fc48965274893f25b18aa14ba665"></a><br/></td></tr>
<tr class="separator:ac3b9fc48965274893f25b18aa14ba665 inherit pub_methods_class_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_object.html">Object</a></td></tr>
<tr class="memitem:aa3e791419d84c4c346ef9499513b8e00 inherit pub_methods_class_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object.html#aa3e791419d84c4c346ef9499513b8e00">~Object</a> ()</td></tr>
<tr class="memdesc:aa3e791419d84c4c346ef9499513b8e00 inherit pub_methods_class_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">DTor of the <a class="el" href="class_object.html" title="Common Baseclass for all other classes.">Object</a> class.  <a href="#aa3e791419d84c4c346ef9499513b8e00"></a><br/></td></tr>
<tr class="separator:aa3e791419d84c4c346ef9499513b8e00 inherit pub_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae61de355dc0fe69b1e40ab69cc2419df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filled_circle.html#ae61de355dc0fe69b1e40ab69cc2419df">DoWrite</a> (std::ostream &amp;stream)</td></tr>
<tr class="memdesc:ae61de355dc0fe69b1e40ab69cc2419df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a circle to ostream.  <a href="#ae61de355dc0fe69b1e40ab69cc2419df"></a><br/></td></tr>
<tr class="separator:ae61de355dc0fe69b1e40ab69cc2419df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_object.html">Object</a></td></tr>
<tr class="memitem:a86a84ed2d1207e5f8827165ac2941106 inherit pub_static_methods_class_object"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_object.html#a86a84ed2d1207e5f8827165ac2941106">deleteObject</a> (<a class="el" href="class_object.html">Object</a> *obj)</td></tr>
<tr class="memdesc:a86a84ed2d1207e5f8827165ac2941106 inherit pub_static_methods_class_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frees the memory used by obj.  <a href="#a86a84ed2d1207e5f8827165ac2941106"></a><br/></td></tr>
<tr class="separator:a86a84ed2d1207e5f8827165ac2941106 inherit pub_static_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_circle"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_circle')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_circle.html">Circle</a></td></tr>
<tr class="memitem:a94f0fbd4f776b6731839fbbba56e7b69 inherit pro_attribs_class_circle"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_circle.html#a94f0fbd4f776b6731839fbbba56e7b69">mRadius</a></td></tr>
<tr class="memdesc:a94f0fbd4f776b6731839fbbba56e7b69 inherit pro_attribs_class_circle"><td class="mdescLeft">&#160;</td><td class="mdescRight">the radius of a circle  <a href="#a94f0fbd4f776b6731839fbbba56e7b69"></a><br/></td></tr>
<tr class="separator:a94f0fbd4f776b6731839fbbba56e7b69 inherit pro_attribs_class_circle"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Describes a filled circle. </p>
<p>The class <a class="el" href="class_filled_circle.html" title="Describes a filled circle.">FilledCircle</a> implements the DoWrite function for a filled circle. It provides the tag for filling the circle with the color given. In the specification it was an ambiguous statement (leaving out the fill tag means filling it out with black). Assumption: it should be filled out with the color given. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad3d472722e9611d160fed9d1e0013cdd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FilledCircle::FilledCircle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_t_position.html">TPosition</a> const &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float const &amp;&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>CTor of <a class="el" href="class_filled_circle.html" title="Describes a filled circle.">FilledCircle</a>. </p>
<p>This constructor is needed by the ShapeFactory that it is able to create an object of this class. All three parameters are set in the class <a class="el" href="class_circle.html" title="Describes a Circle (holds its radius and gets position from Shape)">Circle</a> (<a class="el" href="class_circle.html" title="Describes a Circle (holds its radius and gets position from Shape)">Circle</a> constructor is called). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>The position of the circle on a picture. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of a circle. </td></tr>
    <tr><td class="paramname">color</td><td>The color a circle has. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae61de355dc0fe69b1e40ab69cc2419df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void FilledCircle::DoWrite </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write a circle to ostream. </p>
<p>Write a circle (filled or transparent) to ostream. (abstract method) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stream</td><td>The stream where output is written to. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_circle.html#a4f53830ef0400eac2c629f6cb21f7a63">Circle</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_filled_circle.html">FilledCircle</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
